Messages with parameters from Fisa Robot for Logger




Syntax för meddelanden

*nn[zw] Mitt meddelande är............40 + [zw] tecken totalt
nn = 01 to 99 (nn=00 är för att radera displayen)

Parametrarna är de båda tecknen innanför de fyrkantiga parenteserna []
Vare sig parenteserna eller deras innehåll visas på displayen men de används av Fisa Logger.


Parametrar som tolkar varje tecken för sig (ger kombinationer):

z Första tecknet:
T Tag korg från position w (OBS! första positionen är 0)
Korgen associeras till roboten
P Sätt ned korg i position w
t Tag korg från position w
Korgen associeras med maskinen (utan att förflytta den grafiskt)
p (gemen) Sätt ned korg i position w
Korgen kommer från maskinen
L Ladda en korg på Lastningsposition w
U Avlasta en korg på position w
(sparar korgen i Loggerdatabasen)
u Som ovan men utan att förstöra korgen
a Alarm associerat till en specifik position. w
(gör korgen i positionen röd)
A Alarm associerat med en specifik utgång w
(gör korgen i föräldrapositionen röd)
m Meddelande som är associerad till en position w
(Meddelandet, sparat som en information tilll korgbesöket, utgörs av själva meddelandet i instruktionen.)
M Meddelande som är associerad till en utgång w
(Meddelandet, sparat som en information tilll korgbesöket, utgörs av själva meddelandet i instruktionen.)
S Stega kedjemotor w

w Andra tecknet:
Positions ID 0 to Ò = Chr(155+55) = 55
Utgång nummer 1 to Û = Chr(155+64) = 64
Stega kedjemotor - Kedja nummer 1 to K = Chr( 55+20) = 35



Parametrar som tolkar båda tecknen tillsammans:

A0 = Generiskt alarm
RC = Läs korgkod (följt omedelbart av Stat.Rd.In 00 to 00)



Specialparametrar

[Kw]RGB Color:R-G-B Applicerar specificerad färg på alla korgar i position w
Färgen definieras av RGB funktionen genom att ange Röd, Grön respektive Blå komponent.
Tillåtna värden för R, G och B komponenter: 0 - 255

Exempel:
[K0]RGB Color:255-255-255 Gör alla korgar i position 0 Vit
[K3]RGB Color:0-0-0 Gör alla korgar i position 3 Svart
[K5]RGB Color:255-200-200 Gör alla korgar i position 5 ljusrött

[Kz]K:52-51-00: Meddelande
(the User Message message can be of maximum length 40 - Len(K:52-51-00:)

Counters are created individually for each robot.
Counters rely on values in the historic register and the instructions: Dec ## and Move N°## => ##
A counter can be Incremental or decremental.
Any counters must have a UNIQUE User Message for display purposes.

'Units', 'Tens', 'Hundreds', etc
52-51-00 represents cells containing 'Units', 'Tens', 'Hundreds', etc (depending on the Base, see below).
In the example, 00 is redundant and will be ignored.
However, 00-52-51 is a relevant example because it will define a counter with no 'Units', but with 'Tens' and 'Hundreds'.
The message has to be sent before initializing the counter cell values in order to register a 'Seed' value.
The counter will start displaying values as soon as all the defined cells have been initialized.
When counter value 0 is attained, the counter is removed and the counter display disappears.

The [Kz]K: argument can be either [Kz]K: or [Kz]k:
the uppercase 'K' means the remainder, ccc, followed by the (Seed) value (decremental),
the lowercase 'k' means the difference between the Seed and the current value, vvv (incremental),
The counter string will be displayed appended to the default Robot message container as follows:
'User String to display ccc (Seed)' or 'User String to display vvv', depending on the 'k' argument.

The z parameter can be 23456789ABCDE..., up to 63 (Values from 2 to 64 (Û = Chr(155+65)).
It defines the system Base (2 = binary, 10 = decimal, Û = 64 = Fisa, etc).
The robot program must adhere to the defined Base and Cells in order to function in Logger or Simulation.




Tillåtna ID-koder

ID för positioner startar med 0